import {get,post} from './axios.js'

export const getEmpPage = (pageInfo,inputName,inputType)=>get("springboot/emp/getPage?curr="+pageInfo.currentPage4+"&size="+pageInfo.pageSize4+
	"&inputName="+inputName+
	"&inputType="+inputType)
export const queryDeptAll = ()=>get("springboot/dept/queryAll")
export const addUserAxios = (userForm)=>post("springboot/emp/addUser",userForm)
export const delUserAxios = (empno)=>get("springboot/emp/delUser?empno="+empno)
export const updateUserAxios = (userForm)=>post("springboot/emp/updateUser",userForm)
export const delUserManyAxios = (ids)=>post("springboot/emp/delUserMany",ids)